package com.douleka.curd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author dai
 * @since 2024-03-20
 */
@TableName("yuhuang_supply_product")
public class SupplyProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品名称 (产品类型_面值_地区)
     */
    private String productName;

    /**
     * 产品类型 1 移动,2联通,3电信, 20 蜗牛 ,16 迪信通,15 远特,300 中石化,310 中石油
     */
    private Integer productType;

    /**
     * 销卡地区
     */
    private String area;

    /**
     * 面值
     */
    private Integer face;

    /**
     * 产品大类  1 话费类  2 虚商  3 加油卡
     */
    private Integer type;

    /**
     * 状态; 0 关闭  1开启  2维护
     */
    private Integer state;

    /**
     * 修改时间
     */
    private LocalDateTime modified;

    /**
     * 操作管理员
     */
    private String admin;

    /**
     * 产品编码
     */
    private String cardProductId;

    /**
     * 第三方id
     */
    private Integer thirdId;

    /**
     * 提交类型 0上传图片，1卡密, 2二维码+链接
     */
    private Boolean submitType;

    /**
     * 卡号卡密校验规则( 卡号/卡密;卡号/卡密 )
     */
    private String cardRestrict;

    /**
     * 闲鱼卡券SPU
     */
    private Integer ticketSpuid;

    /**
     * 闲鱼spu状态：0上架 1下架
     */
    private Integer spuStatus;

    /**
     * 备注
     */
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }
    public Integer getFace() {
        return face;
    }

    public void setFace(Integer face) {
        this.face = face;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public LocalDateTime getModified() {
        return modified;
    }

    public void setModified(LocalDateTime modified) {
        this.modified = modified;
    }
    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }
    public String getCardProductId() {
        return cardProductId;
    }

    public void setCardProductId(String cardProductId) {
        this.cardProductId = cardProductId;
    }
    public Integer getThirdId() {
        return thirdId;
    }

    public void setThirdId(Integer thirdId) {
        this.thirdId = thirdId;
    }
    public Boolean getSubmitType() {
        return submitType;
    }

    public void setSubmitType(Boolean submitType) {
        this.submitType = submitType;
    }
    public String getCardRestrict() {
        return cardRestrict;
    }

    public void setCardRestrict(String cardRestrict) {
        this.cardRestrict = cardRestrict;
    }
    public Integer getTicketSpuid() {
        return ticketSpuid;
    }

    public void setTicketSpuid(Integer ticketSpuid) {
        this.ticketSpuid = ticketSpuid;
    }
    public Integer getSpuStatus() {
        return spuStatus;
    }

    public void setSpuStatus(Integer spuStatus) {
        this.spuStatus = spuStatus;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "SupplyProduct{" +
            "id=" + id +
            ", productName=" + productName +
            ", productType=" + productType +
            ", area=" + area +
            ", face=" + face +
            ", type=" + type +
            ", state=" + state +
            ", modified=" + modified +
            ", admin=" + admin +
            ", cardProductId=" + cardProductId +
            ", thirdId=" + thirdId +
            ", submitType=" + submitType +
            ", cardRestrict=" + cardRestrict +
            ", ticketSpuid=" + ticketSpuid +
            ", spuStatus=" + spuStatus +
            ", remark=" + remark +
        "}";
    }
}
